﻿using MyTestTool.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MyTestTool
{
    public partial class Form1 : Form
    {
        List<Image> list = new List<Image>();
        public Form1()
        {
            InitializeComponent();
        }
        int index = 0;
        private void timer1_Tick(object sender, EventArgs e)
        {
            var image = list[index % 7];
            pictureBox1.Image = image;

            index++;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            timer1.Start();
            button1.Enabled = false;
        }

        private void Form1_Load(object sender, EventArgs e)
        {
           
            list.Add(Resources.新建项目);
            list.Add(Resources.项目类型);
            list.Add(Resources.认证组件引用);
            list.Add(Resources.必备依赖引用);
            list.Add(Resources.认证组件使用);
            list.Add(Resources.认证组件安全请求);
            list.Add(Resources.认证组件安全响应);
            button1_Click(null,null);
        }
        
    }
}
